import request from '@/utils/request'

// 携带印章外出登记分页
export function getList(params) {
  return request({
    url: '/carrySealOut/list',
    method: 'POST',
    params
  })
}

// 携带印章外出修改
export function updateSealOut(data) {
  return request({
    url: '/carrySealOut/update',
    method: 'POST',
    data
  })
}

// 携带印章外出添加
export function addSealOut(data) {
  return request({
    url: '/carrySealOut/add',
    method: 'POST',
    data
  })
}

// 携带印章外出删除
export function deleteSealOut(data) {
  return request({
    url: '/carrySealOut/delete',
    method: 'POST',
    data
  })
}

// 携带印章外出查询单条
export function selectSealOut(params) {
  return request({
    url: '/carrySealOut/load',
    method: 'post',
    params
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}
